package com.sicnu.history.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @author 29718
 */
@TableName(value ="history")
@Data
public class HistoryDO implements Serializable {
    /**
     * 历史记录id
     */
    @TableId(type = IdType.AUTO)
    private Integer historiesId;

    /**
     * 资源id
     */
    private Integer resourceId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 历史记录状态
     */
    private Integer historiesStatus;

    /**
     * 创建时间
     */
    private String createdTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}